﻿using System;
using System.Web;

namespace Point.Web.Tools
{
    /// <summary>
    /// Handler1 的摘要说明
    /// </summary>
    public class UploadAjax : IHttpHandler
    {
        public void ProcessRequest(HttpContext context)
        {
            string action = context.Request["action"];
            switch (action)
            {
                case "UpLoad":
                    UpLoad(context);
                    break;
            }

        }

        public void UpLoad(HttpContext context)
        {
            context.Response.Write(Top.UpLoad.UpLoad.UpLoadFile());
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}